gtk_text_buffer_create_tag(): returns NULL on failure
authorSébastien Wilmet <swilmet@gnome.org>
Thu, 4 Apr 2013 11:30:42 +0000 (13:30 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Mon, 12 May 2014 17:10:30 +0000 (19:10 +0200)
commit1e3af04dd9a61e2acde4bf86de4f69a24fcb3e22
treea945260d7a194b44c56f8c30bfe0663998134071
parent68ad33cb89329cf8161dbd1e868097ac1829c16d
gtk_text_buffer_create_tag(): returns NULL on failure

Returns NULL in case of a duplicated tag name in the tag table. It is
still a programmer error to duplicate a name, but if it happens the
behavior is a little nicer (and hopefully doesn't crash).

https://bugzilla.gnome.org/show_bug.cgi?id=614717
gtk/gtktextbuffer.c